﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:Quellenverwaltung_Data_Source="clr-namespace:Quellenverwaltung.Data.Source"
	mc:Ignorable="d"
	x:Class="Quellenverwaltung.EditWebsite"
	x:Name="UserControl"
	xmlns:wpf="clr-namespace:Quellenverwaltung.WPF" Height="580.2" Width="334.4">

<Grid x:Name="LayoutRoot" MinWidth="380" MaxWidth="380" Width="334" HorizontalAlignment="Left">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" MinWidth="380"/>
        </Grid.ColumnDefinitions>
        <StackPanel Margin="7,8,0,8" HorizontalAlignment="Left" Width="315">
        	<Grid x:Name="GridTitle">
        		<AdornerDecorator>
        			<TextBox x:Name="textTitle" TextWrapping="Wrap" Text="{Binding Title}" FontSize="18" FontFamily="./#Segoe UI" Padding="3,4,5,4" BorderThickness="1" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" Foreground="#FF00A3FF" Margin="41,8,10.4,9.2">
        				<wpf:WatermarkService.Watermark>
        					<TextBlock FontSize="18" FontFamily="./#Segoe UI" Margin="-40,-5,0,0" Padding="0,0,0,0" Foreground="#FF00A3FF"><Run Text="Seitentitel hinzufügen"/></TextBlock>
        				</wpf:WatermarkService.Watermark>
        			</TextBox>
        		</AdornerDecorator>
        		<Path x:Name="iconWebsiteTitle" Data="M17.5098,26.2832C17.0128,26.1952,15.9748,25.7032,15.6288,26.3482C15.3278,26.9102,16.3538,27.2712,16.8908,27.4032C18.5458,27.8092,20.5488,27.6832,22.0308,26.6292C22.6448,26.1922,23.0078,25.9072,23.1578,25.3662C21.3098,26.7222,19.4098,26.6212,17.5098,26.2832 M21.2018,23.5392C15.2628,23.9902,10.7418,20.6682,6.9088,19.9392C6.5278,19.8692,6.2118,20.2892,5.9088,20.3402C5.5368,20.9902,5.7348,22.2872,6.1088,22.9392C7.1498,24.7562,10.0298,26.3872,11.8058,27.1372C11.8358,26.4262,11.1818,25.1172,11.9058,24.4392C13.4968,23.9292,15.4478,24.7972,17.3048,24.9372C20.7728,25.2012,23.7568,24.5062,25.3008,22.5392C23.7668,22.9862,22.7238,23.4242,21.2018,23.5392 M24.0008,16.3422C22.1498,14.9802,20.7898,12.7342,18.8028,11.1442C16.9158,9.6342,14.8028,7.7902,12.0068,7.5462C8.3818,7.2292,5.6658,10.0282,5.1098,13.0442C6.3578,11.8422,7.0098,10.2422,9.4078,10.4452C12.5308,10.7092,15.0838,12.3622,17.5038,13.8432C19.6698,15.1692,21.6508,16.9322,23.6018,17.7422C24.5668,18.1422,26.4918,18.4162,26.9008,17.2422C25.6748,17.1832,24.7058,16.8602,24.0008,16.3422 M24.3008,11.5442C24.8698,12.3522,25.6318,14.4622,26.9998,14.0432C28.1898,13.6792,27.2638,11.7652,26.6998,10.8452C24.9618,8.0052,22.0118,5.4222,18.5038,4.8472C17.0538,4.6102,16.1548,4.5032,15.2048,5.0472C19.6328,5.7102,22.1288,8.4622,24.3008,11.5442 M15.5048,2.7482C19.2778,2.4382,22.9108,3.9542,25.1008,5.8462C27.7708,8.1542,30.0808,11.8862,29.6988,17.1422C29.2318,23.5582,24.0428,28.7012,17.7028,29.2362C12.7408,29.6562,9.0398,27.6352,6.6088,25.0392C4.6008,22.8942,3.0208,20.0492,3.0098,16.0422C2.9998,11.7612,4.8828,8.5732,6.9088,6.5462C8.9898,4.4662,11.5788,3.0702,15.5048,2.7482" Fill="#FF00A3FF" Stretch="Fill" Width="26.731" HorizontalAlignment="Left" Margin="7.655,12.204,0,0" Height="26.584" VerticalAlignment="Top"/>
        	</Grid>
        	<Grid x:Name="GridAuthor">
				<Label x:Name="labelAuthor" Content="Author" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left" VerticalAlignment="Top"/>
				<AdornerDecorator x:Name="adornerAuthor" Margin="105,0,0,0" d:LayoutOverrides="Width">
					<TextBox x:Name="textAuthor" TextWrapping="Wrap" Text="{Binding AuthorNamesAsString}" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="146" HorizontalAlignment="Left" ToolTip="e.g. &quot;Max Mustermann; Mustermann, Max&quot;" MinHeight="24">
						<wpf:WatermarkService.Watermark>
							<TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Author hinzufügen"/></TextBlock>
						</wpf:WatermarkService.Watermark>
					</TextBox>
				</AdornerDecorator>
                <AdornerDecorator x:Name="adornerAuthorCompany" Margin="105,0,0,0" d:LayoutOverrides="Width" Visibility="Hidden">
                    <TextBox x:Name="textAuthorCompany" TextWrapping="Wrap" Text="{Binding AuthorCorporateAsString}" Margin="0" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="146" HorizontalAlignment="Left" ToolTip="e.g. &quot;Mustermann GmbH&quot;" MinHeight="24">
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Firmenname hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
                <CheckBox x:Name="AuthorIsCorporateCheckBox" Content="Firma" HorizontalAlignment="Left" Margin="259,5,0,2.8" Checked="CheckBox_Checked_1" Unchecked="CheckBox_Unchecked_1"/>
            </Grid>
            <Grid x:Name="GridInternetSiteTitle">
                <Label x:Name="labelInternetSiteTitle" Content="Name der Webseite" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textInternetSiteTitle" TextWrapping="Wrap" Text="{Binding InternetSiteTitle}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Name der Webseite hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridProductionCompany">
                <Label x:Name="labelProductionCompany" Content="Produktionsfirma" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textProductionCompany" TextWrapping="Wrap" Text="{Binding ProductionCompany}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Produktionsfirma hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridUrl">
                <Label x:Name="labelUrl" Content="Url" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textUrl" TextWrapping="Wrap" Text="{Binding Url}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Url hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridYear">
                <Label x:Name="labelYear" Content="Jahr" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textYear" TextWrapping="Wrap" Text="{Binding Year}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Jahr hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridMonth">
                <Label x:Name="labelMonth" Content="Monat" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textMonth" TextWrapping="Wrap" Text="{Binding Month}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Monat hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridDay">
                <Label x:Name="labelDay" Content="Tag" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textDay" TextWrapping="Wrap" Text="{Binding Day}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Tag hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridYearAccessed">
                <Label x:Name="labelYearAccessed" Content="Jahr des Zugriffs" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textYearAccessed" TextWrapping="Wrap" Text="{Binding YearAccessed}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Jahr des Zugriffs hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridMonthAccessed">
                <Label x:Name="labelMonthAccessed" Content="Monat des Zugriffs" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textMonthAccessed" TextWrapping="Wrap" Text="{Binding MonthAccessed}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Monat des Zugriffs hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridDayAccessed">
                <Label x:Name="labelDayAccessed" Content="Tag des Zugriffs" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textDayAccessed" TextWrapping="Wrap" Text="{Binding DayAccessed}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Tag des Zugriffs hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
            <Grid x:Name="GridStandardNumber">
                <Label x:Name="labelStandardNumber" Content="Standartnummer" VerticalAlignment="Top" Width="105" Foreground="#FF828282" Padding="5,7,5,3" Height="24" HorizontalAlignment="Left"/>
                <AdornerDecorator Margin="105,0,0,0" d:LayoutOverrides="Width">
                    <TextBox x:Name="textStandardNumber" TextWrapping="Wrap" Text="{Binding StandardNumber}" Margin="0,0,0,2" Padding="4,3,1,2" BorderBrush="#FFC2C2C2" BorderThickness="1" VerticalAlignment="Top" MouseEnter="input_MouseEnter" MouseLeave="input_MouseLeave" VerticalContentAlignment="Center" Background="White" Width="200" HorizontalAlignment="Left" MinHeight="24" >
                        <wpf:WatermarkService.Watermark>
                            <TextBlock FontSize="8pt" FontFamily="./#Segoe UI" Margin="4,3,0,0" Foreground="#FFAEAEAE"><Run Text="Standartnumber hinzufügen"/></TextBlock>
                        </wpf:WatermarkService.Watermark>
                    </TextBox>
                </AdornerDecorator>
            </Grid>
			<Grid x:Name="GridButtons" Height="46">
				<Button x:Name="ButtonAddSource" Content="Quelle hinzufügen" HorizontalAlignment="Right" Margin="0,14,191.2,5" Width="114" Click="Button_Click_1"/>
				<Button x:Name="ButtonAddSourrceAndCite" Content="Quelle hinzufügen und zitieren" Margin="0,14,8,5" HorizontalAlignment="Right" Width="177.892" Click="ButtonAddSourrceAndCite_Click"/>
			</Grid>
		</StackPanel>
	</Grid>
</UserControl>